package org.springblade.pm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.core.mp.base.BaseEntity;

import java.util.List;
import java.util.Map;

public interface IOverViewService extends IService<BaseEntity> {
	/**
	 *获取该项目人力资源的时间
	 * @param projectCode
	 * @return
	 */
	Map<String,Object> getHumanTaskTime(String projectCode);

	/**
	 * 人员空闲情况
	 *
	 * @param map
	 * @return
	 */
	String getUserFreeRank(Map<String, Object> map);

	/**
	 * 获取项目的人员情况
	 * @param projectCode
	 * @return
	 */
	List<String> getUserByProject(String projectCode);

	/**
	 * 获取活动情况
	 * @param projectId
	 * @return
	 */
	List<Map<String,String>> getActiveList(Integer projectId);
}
